package zhupf.test.designPattern.builder.improve;

public class Client {
    public static void main(String[] args) {

        HouseDirector houseDirector = new HouseDirector();
        houseDirector.setHouseBuilder(new CommonHouse());
        House house = houseDirector.constructHouse();
        System.out.println(house);
        System.out.println("======================");
        houseDirector.setHouseBuilder(new HightBuilding());

        House highHouse = houseDirector.constructHouse();
        System.out.println(highHouse);
    }
}
